﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sinacor.OMM.MessageEntity.STM
{
    public class Message0105 : BaseMessage
    {
        private int _client;
        private int _operator;
        private string _stock;
        private Enum.NaturezaOperacao _naturezaOperacao;

        private DateTime _systemDate;//"DT_DATMOV"
        private string _orderQuantity;//"QT_ORDEM"
        private decimal _price;//"VL_PREPAP"
        private string _counterparty;//"CD_CONTRAPARTE"
        private Int32 _megaOrder;//"NR_OFEMEGA"
        private string _security;//"CD_NEGOCIO_ESTR
        private Sinacor.OMM.MessageEntity.Enum.NaturezaOperacao _orderSide;//"CD_NATOPE_ESTR"
        private Int32 _functionCode;//"CD_MSGORI_MEGA"

        /// <summary>
        /// 
        /// </summary>
        public int Client
        {
            get
            {
                return _client;
            }
            set
            {
                _client = value;
            }
        }

        /// <summary>
        /// The port which the message arrives.
        /// </summary>
        public int Operator
        {
            get
            {
                return _operator;
            }
            set
            {
                _operator = value;
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public String Stock
        {
            get
            {
                return _stock;
            }
            set
            {
                _stock = value;
            }
        }

        public Enum.NaturezaOperacao NaturezaOperacao
        {
            get
            {
                return _naturezaOperacao;
            }
            set
            {
                _naturezaOperacao = value;
            }
        }

        public DateTime SystemDate
        {
            get { return _systemDate; }
            set { _systemDate = value; }
        }

        public string OrderQuantity
        {
            get { return _orderQuantity; }
            set { _orderQuantity = value; }
        }

        public decimal Price
        {
            get { return _price; }
            set { _price = value; }
        }

        public string Counterparty
        {
            get { return _counterparty; }
            set { _counterparty = value; }
        }

        public Int32 MegaOrder
        {
            get { return _megaOrder; }
            set { _megaOrder = value; }
        }

        public string Security
        {
            get { return _security; }
            set { _security = value; }
        }

        public Sinacor.OMM.MessageEntity.Enum.NaturezaOperacao OrderSide
        {
            get { return _orderSide; }
            set { _orderSide = value; }
        }

        public Int32 FunctionCode 
        {
            get { return _functionCode; }
            set { _functionCode = value; }
        }
    }
}
